upstream allows to make Debug and Release builds; and Release builds with some
debugging options on.
our libjuce.so doesn't support so many configurations, so we disable a few.
+ .
+ Also on Debian we only currently only support a single plugin-type: LV2
Author: IOhannes m zmölnig
Origin: Debian
Forwarded: not-needed
-Last-Update: 2016-02-10
+Last-Update: 2016-04-07
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- juce.orig/modules/juce_core/juce_core.h
/** Config: JUCE_FORCE_DEBUG\r
\r
Normally, JUCE_DEBUG is set to 1 or 0 based on compiler and project settings,\r
+--- juce.orig/modules/juce_audio_plugin_client/utility/juce_CheckSettingMacros.h
++++ juce/modules/juce_audio_plugin_client/utility/juce_CheckSettingMacros.h
+@@ -22,6 +22,42 @@
+ ==============================================================================\r
+ */\r
+ \r
++/* Debian specific overrides */\r
++#if JucePlugin_Build_LV2 && ! defined (JucePlugin_LV2URI)\r
++# warning JUCE/Debian using default LV2URI\r
++# define JucePlugin_LV2URI JucePlugin_Name\r
++#endif\r
++\r
++#if JucePlugin_Build_VST\r
++# warning JUCE/Debian disabled VST support\r
++# undef JucePlugin_Build_VST\r
++# define JucePlugin_Build_VST 0\r
++#endif\r
++\r
++#if JucePlugin_Build_VST3\r
++# warning JUCE/Debian disabled VST3 support\r
++# undef JucePlugin_Build_VST3\r
++# define JucePlugin_Build_VST3 0\r
++#endif\r
++\r
++#if JucePlugin_Build_AU\r
++# warning JUCE/Debian disabled AU support\r
++# undef JucePlugin_Build_AU\r
++# define JucePlugin_Build_AU 0\r
++#endif\r
++\r
++#if JucePlugin_Build_RTAS\r
++# warning JUCE/Debian disabled RTAS support\r
++# undef JucePlugin_Build_RTAS\r
++# define JucePlugin_Build_RTAS 0\r
++#endif\r
++\r
++#if JucePlugin_Build_AAX\r
++# warning JUCE/Debian disabled AAX support\r
++# undef JucePlugin_Build_AAX\r
++# define JucePlugin_Build_AAX 0\r
++#endif\r
++\r
+ // The following checks should cause a compile error if you've forgotten to\r
+ // define all your plugin settings properly..\r
+ \r
+@@ -31,6 +67,7 @@
+ #error "You need to enable at least one plugin format!"\r
+ #endif\r
+ \r
++\r
+ #ifndef JucePlugin_IsSynth\r
+ #error "You need to define the JucePlugin_IsSynth value!"\r
+ #endif\r